#!/bin/bash

ls -l / | grep tmp | grep rwt >> /dev/null

if [ $? == 0 ];then
        echo "pass"
else
        echo "fail"
fi
